#define _CRT_SRCURE_NO_WARNINGS 1
#pragma  warning (disable:4996)

#include <iostream>
#include "BTree.h"
#include "BPlusTree.h"
using namespace std;


void TestBTree()
{
    int arr[] = { 53, 139, 75, 49, 145, 36, 50, 47, 101 };
    BTree<int, 3> t;
    
    for (auto e : arr)
    {
        t.Insert(e);
    }
    t.dfs();
}
void TestBPlusTree()
{
    int arr[] = { 53, 139, 75, 49, 145, 36, 101, 150, 155 };
    BPlusTree<int, 3> t;
    for (auto e : arr)
    {
        t.Insert(e);
    }
    t.Insert(74);
    cout << " ";
}
int main()
{
    TestBPlusTree();
}